package com.dhy.service;

import com.dhy.dto.PermissionDto;
import com.dhy.mapper.PermissionMapper;
import com.dhy.pojo.Permission;

import java.util.List;

public interface IPermissionService extends IBaseService<Permission> {

    Permission selectByName(String name);

    //批量插入
    void batchInsert(List<Permission> permissionList);

    List<PermissionDto> selectPermissionTree();
}
